package cn.qidisoft.edu.hzjt.dao.xb;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import cn.qidisoft.edu.hzjt.model.xb.SchoolTrainingMemberEn;
import cn.qidisoft.edu.hzjt.model.xb.SchoolTrainingEn;

public interface SchoolTrainingMapper {

	List<SchoolTrainingEn> queryList(SchoolTrainingEn SchoolTrainingEn);
	
	List<SchoolTrainingEn> queryPageList(SchoolTrainingEn SchoolTrainingEn, RowBounds rowBounds);
	
	int queryPageListcount(SchoolTrainingEn SchoolTrainingEn);
	
	SchoolTrainingEn queryByPK(SchoolTrainingEn SchoolTrainingEn);
	
	int insert(SchoolTrainingEn SchoolTrainingEn);
	
	void update(SchoolTrainingEn SchoolTrainingEn);
	
	void delete(SchoolTrainingEn SchoolTrainingEn);
	
	List<Map<String, Object>> queryAllYearList();
	
	List<SchoolTrainingEn> queryPersonDowdLoadPageList(SchoolTrainingEn SchoolTrainingEn, RowBounds rowBounds);
	
	int queryPersonDowdLoadPageListcount(SchoolTrainingEn SchoolTrainingEn);
	
	List<SchoolTrainingMemberEn> plist(@Param("parentId") Integer parentId);
	
	void batchInserts(List<SchoolTrainingMemberEn> records);
	
	void deleteByParentId(int parentId);
	
	List<Map<String, Object>> queryEmployeeList();
}
